package com.hello.web;

import cn.dev33.satoken.SaManager;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan({"com.hello.*"}) // 多模块项目中，必需手动指定扫描 com.hello 包下面的所有类
@MapperScan("com.hello.web.domain.mapper")
public class HelloWebApplication {

    public static void main(String[] args) {
        SpringApplication.run(HelloWebApplication.class, args);
//        System.out.println("启动成功，Sa-Token 配置如下：" + SaManager.getConfig());
    }

}
